import Vue from 'vue'
import App from './App.vue'
import router from './router'
import FooterBar from './components/FooterBar.vue'
import axios from 'axios'
// Vue.prototype.$on = EventBus.$on

Vue.prototype.$http = axios
// 全局注册一个footerBar组件
Vue.component('FooterBar', FooterBar)

Vue.config.productionTip = false

new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
